@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --font-oswald: Inter, system-ui, Avenir, Helvetica, Arial;
  --font-manrope: Inter, system-ui, Avenir, Helvetica, Arial;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-manrope), sans-serif;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button,
input[type="submit"],
input[type="reset"],
input[type="button"],
.username-input {
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  transition: border-color 0.3s ease;
}

button:hover{
  background-color: #a8a8a8;
  border-color: #007bff;
  outline: none;
}

input:hover,
.username-input:focus {
  border-color: #007bff;
  outline: none;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  transition: border-color 0.3s ease;
}

input[type="password"] {
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  transition: border-color 0.3s ease;
  background-color: #350f0f;
}

input:focus {
  border-color: #007bff;
  outline: none;
}

input[type="password"]:focus {
  background-color: #b64a4a;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }

  a:hover {
    color: #747bff;
  }

  button,
  input[type="submit"],
  input[type="reset"],
  input[type="button"],
  .username-input {
    background-color: #f9f9f9;
  }
}


.signup_form {
  width: 300px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #000000;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #505050;
  display: flex;
  flex-direction: column;
  gap: 0.66rem;
}

.form_block {
  margin: 100 auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}